package iyuwu.EasyTrade;

public class Enums {
    static final int[] unUsableMaterials ={
            0,7,8,9,10,11,26,34,36,43,51,52,55,59,60,62,63,64,68,
            71,74,75,83,90,92,93,94,97,104,105,115,117,118,119,120,
            124,125,127,132,137,140,141,142,144,149,150,166,176,177,
            178,181,193,194,195,196,197,383,397,422,425
    };
    static final int[] moreThanOneMaterials={
            1,3,5,6,12,17,18,19,24,31,35,38,44,95,98,125,126,139,145,155,
            159,160,161,162,168,171,175,179,349,350,351,373,
    };
    static public int[] getDurability(int id){
        if(id==1){
            return new int[]{0,1,2,3,4,5,6};
        }else if(id==3){
            return new int[]{0,1,2};
        }else if(id==5){
            return new int[]{0,1,2,3,4,5};
        }else if(id==6){
            return new int[]{0,1,2,3,4,5};
        }else if(id==12){
            return new int[]{0,1};
        }else if(id==17){
            return new int[]{0,1,2,3};
        }else if(id==18){
            return new int[]{0,1,2,3};
        }else if(id==19){
            return new int[]{0,1};
        }else if(id==24){
            return new int[]{0,1,2};
        }else if(id==31){
            return new int[]{0,1,2};
        }else if(id==35){
            return new int[]{0,1,2,3,4,5,6,7,8,9,10,
                    11,12,13,14,15};
        }else if(id==38){
            return new int[]{0,1,2,3,4,5,6,7,8};
        }else if(id==44){
            return new int[]{0,1,3,4,5,6,7};
        }else if(id==95){
            return new int[]{0,1,2,3,4,5,6,7,8,9,10,
                    11,12,13,14,15};
        }else if(id==98){
            return new int[]{0,1,2,3};
        }else if(id==125){
            return new int[]{0,1,2,3,4,5};
        }else if(id==126){
            return new int[]{0,1,2,3,4,5};
        }else if(id==139){
            return new int[]{0,1};
        }else if(id==145){
            return new int[]{0,1,2};
        }else if(id==155){
            return new int[]{0,1,2};
        }else if(id==159){
            return new int[]{0,1,2,3,4,5,6,7,8,9,10,
                    11,12,13,14,15};
        }else if(id==160){
            return new int[]{0,1,2,3,4,5,6,7,8,9,10,
                    11,12,13,14,15};
        }else if(id==161){
            return new int[]{0,1};
        }else if(id==162){
            return new int[]{0,1};
        }else if(id==168){
            return new int[]{0,1,2};
        }else if(id==171){
            return new int[]{0,1,2,3,4,5,6,7,8,9,10,
                    11,12,13,14,15};
        }else if(id==175){
            return new int[]{0,1,2,3,4,5};
        }else if(id==179){
            return new int[]{0,1,2};
        }else if(id==349){
            return new int[]{0,1,2,3};
        }else if(id==350){
            return new int[]{0,1};
        }else if(id==351){
            return new int[]{0,1,2,3,4,5,6,7,8,9,10,
                    11,12,13,14,15};
        }else if(id==373){
            return new int[]{16,32,64,8193,8194,8195,8196,8197,8198,
                    8200,8201,8202,8204,8205,8206,8225,8226,8228,8229,8233,
                    8235,8236,8257,8258,8259,8260,8262,8264,8265,8266,8267,
                    8269,8270,8289,8290,8292,8297,16385,16386,16387,16388,16389,
                    16390,16392,16393,16394,16396,16397,16398,16417,16418,16420,
                    16421,16425,16427,16428,16449,16450,16451,16452,16454,16456,
                    16457,16458,16459,16461,16462,16481,16482,16484,16489};
        }
        return null;
    }
}
